<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="shortcut icon" href="#">
</head>
<body>
<form action="/login" method="post">
    <span th:text="${msg}">  </span>
    <input name ="userName" type="text"/>
    <input name="password" type="password"/>
    <input type="submit" value="提 交">
</form>
</body>
</html>